From: Sergey Ponomarev Date: Sat, 4 Oct 2025 12:38:24 +0000 (+0300) Subject: luci-base: form.js depends(): make value optional X-Git-Url: http://git.openwrt.org/%22https:/collectd.org//%22/%22https:/collectd.org/%22?a=commitdiff_plain;h=ebfb4f73ecefc27d8db1494f2c838efa9347083e;p=project%2Fluci.git luci-base: form.js depends(): make value optional Signed-off-by: Sergey Ponomarev --- diff --git a/modules/luci-base/htdocs/luci-static/resources/form.js b/modules/luci-base/htdocs/luci-static/resources/form.js index 9a8523c62f..5cd8fa9acb 100644 --- a/modules/luci-base/htdocs/luci-static/resources/form.js +++ b/modules/luci-base/htdocs/luci-static/resources/form.js @@ -1631,7 +1631,7 @@ const CBIAbstractValue = CBIAbstractElement.extend(/** @lends LuCI.form.Abstract * The name of the option to depend on or an object describing multiple * dependencies which must be satisfied (a logical "and" expression). * - * @param {string|RegExp} value + * @param {string|RegExp} [value] * When invoked with a plain option name as first argument, this parameter * specifies the expected value. In case an object is passed as first * argument, this parameter is ignored.